package com.vehicle.auto.click.test;

import java.awt.AWTException;
import java.awt.Robot;

public class AutoPaint {
    public static void main(String[] args) throws AWTException {
        Robot robot = new Robot();
        robot.delay(8000);
        int i = 10;

        while(i-- > 0) {
            robot.mouseMove(400, 300);
        }

        robot.mousePress(16);
        robot.delay(100);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(650, 550);
        }

        robot.mouseRelease(16);
        robot.delay(1000);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(0, 300);
        }

        robot.mousePress(16);
        robot.mouseRelease(16);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(600, 300);
        }

        robot.mousePress(16);
        robot.delay(100);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(850, 550);
        }

        robot.mouseRelease(16);
        robot.delay(1000);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(0, 300);
        }

        robot.mousePress(16);
        robot.mouseRelease(16);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(800, 300);
        }

        robot.mousePress(16);
        robot.delay(100);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(1050, 550);
        }

        robot.mouseRelease(16);
        robot.delay(200);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(0, 300);
        }

        robot.mousePress(16);
        robot.mouseRelease(16);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(500, 425);
        }

        robot.mousePress(16);
        robot.delay(100);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(750, 675);
        }

        robot.mouseRelease(16);
        robot.delay(200);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(0, 300);
        }

        robot.mousePress(16);
        robot.mouseRelease(16);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(700, 425);
        }

        robot.mousePress(16);
        robot.delay(100);
        i = 10;

        while(i-- > 0) {
            robot.mouseMove(950, 675);
        }

        robot.mouseRelease(16);
        robot.delay(200);
    }
}
